<?php

if(!isset($_SESSION['last_access'])||(time()-$_SESSION['last_access'])>60)
 $_SESSION['last_access'] = time();

if(version_compare(PHP_VERSION,'5.3.0','<'))  die('require PHP > 5.3.0 !');
define('BIND_MODULE','Home');
define('APP_DEBUG',True);
//define('APP_PATH','./Application/');
define( 'APP_PATH', dirname(__FILE__).'/Application/' ); 
require dirname( __FILE__).'/ThinkPHP/ThinkPHP.php';
//require './ThinkPHP/ThinkPHP.php';
